package com.atguigu.gmall.payment.service;

import com.atguigu.gmall.model.enums.PaymentType;
import com.atguigu.gmall.model.payment.PaymentInfo;

import java.util.Map;

/**
 * @Author: 李旭
 * @Time: 11:24
 * @Description:
 */
public interface PaymentService {
    PaymentInfo insert(Long orderId, PaymentType paymentType);

    void updateStatus(Map<String, String> paramsMap);

    PaymentInfo selectOne(String outTradeNo);
}
